<HTML
><HEAD
><TITLE
>GR_PALENTRY</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Data Types"
HREF="nxstruct.html"><LINK
REL="PREVIOUS"
TITLE="GR_LOGFONT"
HREF="nxstruct_GR_LOGFONT.html"><LINK
REL="NEXT"
TITLE="GR_PALETTE"
HREF="nxstruct_GR_PALETTE.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxstruct_GR_LOGFONT.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxstruct_GR_PALETTE.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXSTRUCT.GR.PALENTRY"
><SPAN
CLASS="STRUCTNAME"
>GR_PALENTRY</SPAN
></A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN11525"
></A
><H2
>Name</H2
><SPAN
CLASS="STRUCTNAME"
>GR_PALENTRY</SPAN
>&nbsp;--&nbsp;Palette entry</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN11529"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>typedef struct 
{
    unsigned char  r;
    unsigned char  g;
    unsigned char  b;
} GR_PALENTRY;
  </PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN11531"
></A
><H2
>Description</H2
><P
>    The <SPAN
CLASS="STRUCTNAME"
>GR_PALENTRY</SPAN
> structure is the
    core element of a color palette in the nano-X library.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN11535"
></A
><H2
>Fields</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN11537"
></A
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Type</TH
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Name</TH
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>unsigned char</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>r</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The red component of the color.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>unsigned char</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>g</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The green component of the color.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>unsigned char</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>b</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The blue component of the color.</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN11563"
></A
><H2
>See Also</H2
><P
>      <A
HREF="nxstruct_GR_PALETTE.html"
>            <SPAN
CLASS="STRUCTNAME"
>GR_PALETTE</SPAN
></A
>, 
      <A
HREF="nxstruct_GR_IMAGE_INFO.html"
>            <SPAN
CLASS="STRUCTNAME"
>GR_IMAGE_INFO</SPAN
></A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxstruct_GR_LOGFONT.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxstruct_GR_PALETTE.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><SPAN
CLASS="TYPE"
>GR_LOGFONT</SPAN
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="nxstruct.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><SPAN
CLASS="STRUCTNAME"
>GR_PALETTE</SPAN
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>